package com.niit.pojo;

import java.io.Serializable;

/**
 * @author 杨铭
 * 2022/2/7,19:53
 */
public class StudentTable implements Serializable {
    /**
     * 学生id
     */
    private String studentId;
    /**
     * 学生姓名
     */
    private String name;
    /**
     * 学生入学日期
     */
    private String dateOfEnrollment;
    /**
     * 电话号码
     */
    private String contactNumber;
    /**
     * 第几学期
     */
    private String semester;
    /**
     * 当前是否离校（A在籍，L离校）
     */
    private String studentStatus;

    /***
     * 列族
     * */
    private String family1 = "info";
    private String family2 = "status";

    public StudentTable() {
    }

    public StudentTable(String studentId, String name, String dateOfEnrollment, String contactNumber, String semester, String studentStatus) {
        this.studentId = studentId;
        this.name = name;
        this.dateOfEnrollment = dateOfEnrollment;
        this.contactNumber = contactNumber;
        this.semester = semester;
        this.studentStatus = studentStatus;
    }

    @Override
    public String toString() {
        return "Student{" +
                "StudentId='" + studentId + '\'' +
                ", Name='" + name + '\'' +
                ", DateOfEnrollment='" + dateOfEnrollment + '\'' +
                ", ContactNumber='" + contactNumber + '\'' +
                ", Semester=" + semester +
                ", StudentStatus='" + studentStatus + '\'' +
                '}';
    }

    public String getStudentId() {
        return studentId;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDateOfEnrollment() {
        return dateOfEnrollment;
    }

    public void setDateOfEnrollment(String dateOfEnrollment) {
        this.dateOfEnrollment = dateOfEnrollment;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getStudentStatus() {
        return studentStatus;
    }

    public void setStudentStatus(String studentStatus) {
        this.studentStatus = studentStatus;
    }

    public String getFamily1() {
        return family1;
    }

    public String getFamily2() {
        return family2;
    }
}
